package com.springboot.service;

import com.springboot.bean.Student;

import java.util.List;
import java.util.Map;

/**
 * @ClassName StudentService
 * @Description TODO
 * @Author peter
 * @Date 19-4-15 下午2:55
 * @Version 1.0
 **/
public interface StudentService {
    int add(Student student);

    int update(Student student);

    int deleteBysno(Integer sno);

    List<Map<String, Object>> queryStudentListMap();

    Student queryStudentBySno(Integer sno);
}
